\section{ec\+\_\+voe\+\_\+handler Struct Reference}
\label{structec__voe__handler}\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}


Vendor specific over Ether\+C\+AT handler.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct list\+\_\+head \textbf{ list}
\begin{DoxyCompactList}\small\item\em List item. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+slave\+\_\+config\+\_\+t} $\ast$ \textbf{ config}
\begin{DoxyCompactList}\small\item\em Parent slave configuration. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+datagram\+\_\+t} \textbf{ datagram}
\begin{DoxyCompactList}\small\item\em State machine datagram. \end{DoxyCompactList}\item 
uint32\+\_\+t \textbf{ vendor\+\_\+id}
\begin{DoxyCompactList}\small\item\em Vendor ID for the header. \end{DoxyCompactList}\item 
uint16\+\_\+t \textbf{ vendor\+\_\+type}
\begin{DoxyCompactList}\small\item\em Vendor type for the header. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ data\+\_\+size}
\begin{DoxyCompactList}\small\item\em Size of VoE data. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+direction\+\_\+t} \textbf{ dir}
\begin{DoxyCompactList}\small\item\em Direction. \end{DoxyCompactList}\item 
\mbox{\label{structec__voe__handler_a214b9c6c45ae1d97da28b33f48fc9625}} 
void($\ast$ \textbf{ state} )(\textbf{ ec\+\_\+voe\+\_\+handler\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em State function. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+internal\+\_\+request\+\_\+state\+\_\+t} \textbf{ request\+\_\+state}
\begin{DoxyCompactList}\small\item\em Handler state. \end{DoxyCompactList}\item 
\mbox{\label{structec__voe__handler_a94b591afc9239d7da95ce47108211048}} 
unsigned int \textbf{ retries}
\begin{DoxyCompactList}\small\item\em retries upon datagram timeout \end{DoxyCompactList}\item 
unsigned long \textbf{ jiffies\+\_\+start}
\begin{DoxyCompactList}\small\item\em Timestamp for timeout calculation. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Vendor specific over Ether\+C\+AT handler. 

Definition at line 49 of file voe\+\_\+handler.\+h.



\subsection{Field Documentation}
\mbox{\label{structec__voe__handler_ab078e6fbc73c7bb4f7cb465b6c4abfa3}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!list@{list}}
\index{list@{list}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{list}
{\footnotesize\ttfamily struct list\+\_\+head ec\+\_\+voe\+\_\+handler\+::list}



List item. 



Definition at line 50 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a0d54cd53df6b6aa0d3f5d0bdd4d61686}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!config@{config}}
\index{config@{config}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{config}
{\footnotesize\ttfamily \textbf{ ec\+\_\+slave\+\_\+config\+\_\+t}$\ast$ ec\+\_\+voe\+\_\+handler\+::config}



Parent slave configuration. 



Definition at line 51 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a22dc8e8a089f2a9df8336828d4ddcbe6}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!datagram@{datagram}}
\index{datagram@{datagram}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{datagram}
{\footnotesize\ttfamily \textbf{ ec\+\_\+datagram\+\_\+t} ec\+\_\+voe\+\_\+handler\+::datagram}



State machine datagram. 



Definition at line 52 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a2c8f52c786041ad0600c3d3b84db48e7}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!vendor\+\_\+id@{vendor\+\_\+id}}
\index{vendor\+\_\+id@{vendor\+\_\+id}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{vendor\+\_\+id}
{\footnotesize\ttfamily uint32\+\_\+t ec\+\_\+voe\+\_\+handler\+::vendor\+\_\+id}



Vendor ID for the header. 



Definition at line 53 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_aa0f8674c035659f9f2850045ed641139}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!vendor\+\_\+type@{vendor\+\_\+type}}
\index{vendor\+\_\+type@{vendor\+\_\+type}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{vendor\+\_\+type}
{\footnotesize\ttfamily uint16\+\_\+t ec\+\_\+voe\+\_\+handler\+::vendor\+\_\+type}



Vendor type for the header. 



Definition at line 54 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a8f7609a3c03d2eab155ea2d24c4353e2}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!data\+\_\+size@{data\+\_\+size}}
\index{data\+\_\+size@{data\+\_\+size}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{data\+\_\+size}
{\footnotesize\ttfamily size\+\_\+t ec\+\_\+voe\+\_\+handler\+::data\+\_\+size}



Size of VoE data. 



Definition at line 55 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a4930b843f8706117298fd50362514117}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!dir@{dir}}
\index{dir@{dir}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{dir}
{\footnotesize\ttfamily \textbf{ ec\+\_\+direction\+\_\+t} ec\+\_\+voe\+\_\+handler\+::dir}



Direction. 

E\+C\+\_\+\+D\+I\+R\+\_\+\+O\+U\+T\+P\+UT means writing to the slave, E\+C\+\_\+\+D\+I\+R\+\_\+\+I\+N\+P\+UT means reading from the slave. 

Definition at line 56 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a08b2653c2e110c29f17b28dce2094c69}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!request\+\_\+state@{request\+\_\+state}}
\index{request\+\_\+state@{request\+\_\+state}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{request\+\_\+state}
{\footnotesize\ttfamily \textbf{ ec\+\_\+internal\+\_\+request\+\_\+state\+\_\+t} ec\+\_\+voe\+\_\+handler\+::request\+\_\+state}



Handler state. 



Definition at line 60 of file voe\+\_\+handler.\+h.

\mbox{\label{structec__voe__handler_a394c2e7f86802ae0c78a1d7f5a762cc5}} 
\index{ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}!jiffies\+\_\+start@{jiffies\+\_\+start}}
\index{jiffies\+\_\+start@{jiffies\+\_\+start}!ec\+\_\+voe\+\_\+handler@{ec\+\_\+voe\+\_\+handler}}
\subsubsection{jiffies\+\_\+start}
{\footnotesize\ttfamily unsigned long ec\+\_\+voe\+\_\+handler\+::jiffies\+\_\+start}



Timestamp for timeout calculation. 



Definition at line 62 of file voe\+\_\+handler.\+h.

